package org.senseframework.support.example.mongo;

import org.senseframework.support.orm.mongodb.MongoCollection;

/**
 * Created by lanjian on 30/08/2017.
 */
@MongoCollection("mongo_test")
public class MongoTest {

    private String _id;
    private String a;
    private String b;


    public MongoTest(String a, String b) {
        this.a = a;
        this.b = b;
    }


    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }

    public String getB() {
        return b;
    }

    public void setB(String b) {
        this.b = b;
    }


    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    @Override
    public String toString() {
        return "MongoTest{" +
                "_id='" + _id + '\'' +
                ", a='" + a + '\'' +
                ", b='" + b + '\'' +
                '}';
    }
}
